﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TANKWAR_alpha
{
    class Wall
    {
        private int top;                
        private int left;
        private int type;               //type of walls：0  for removable wall，1 for steel，2 for grass，3 for river, 4 for _base
        private bool  life;
                      
        public Wall(int t,int l,int ty)
        {
            top = t;
            left = l;
            type = ty;
            life = true;
        }

        public int WallType
        {
            get { return type; }
            set {  type= value; }
        }

        public int WallLeft
        {
            get { return left; }
            set { left = value; }
        }
        public int WallTop
        {
            get { return top; }
            set { top = value; }
        }

        public bool WallLife
        {
            get { return life; }
            set { life = value; }
        }
    }
}
